package com.rc.saas.tenant.mapper.enterprise;

import com.rc.saas.tenant.common.base.BaseMapper;

import java.math.BigDecimal;
import java.util.List;

import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainGradeSetting;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainGradeSettingExample;
import org.apache.ibatis.annotations.Param;

public interface RcEnterpriseGainGradeSettingMapper extends BaseMapper<Long, RcEnterpriseGainGradeSetting, RcEnterpriseGainGradeSettingExample> {
    void batchInsert(@Param("list") List<RcEnterpriseGainGradeSetting> list);

    void batchDelete(@Param("list") List<Long> list);

    RcEnterpriseGainGradeSetting selectGradeBetweenInterval(@Param("gainId") Long gainId,@Param("money") BigDecimal money);

}